package by.yakusekmaxim.bookgid.dataaccess;

import java.util.List;

import javax.persistence.metamodel.SingularAttribute;

import by.yakusekmaxim.bookgid.datamodel.Series;

public interface SeriesDao extends AbstractDao<Long, Series> {
	Long getCount();
	
	List<Series> getAllSeries(SingularAttribute<Series, ?> attribute,
			boolean ascending, int startRecord, int pageSize);
	

}
